<template>
  <div>
    <p>count:{{ store.state.count }}</p>
    <hr>
    <button @click="store.commit('addCount1')">count+1</button>
    <button @click="store.commit('addCount6',6)">count+6</button>
  </div>
</template>

<script setup>
import {useStore} from 'vuex'

const store = useStore();
</script>

<style lang="scss" scoped>

</style>